package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 作品品相对象 danmo_gallery_works_condition
 *
 * @author ruoyi
 * @date 2024-10-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoGalleryWorksCondition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品相id */
    private Long id;

    /** 品相名称 */
    @Excel(name = "品相名称")
    private String conditionName;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setConditionName(String conditionName)
//    {
//        this.conditionName = conditionName;
//    }
//
//    public String getConditionName()
//    {
//        return conditionName;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("conditionName", getConditionName())
            .toString();
    }
}
